libxl_set_memory_target: only remove videoram from absolute targets
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Mon, 26 Jan 2015 16:47:11 +0000 (16:47 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 2 Feb 2015 14:33:12 +0000 (14:33 +0000)
commitd8e1ee8182d0dc2d472063aaad41e02507dd2162
treeafe45cb9b68957133dfaae670f50e352d0910644
parentd0b2caa80fccafbb131b28b7b8488001d82ab4bf
libxl_set_memory_target: only remove videoram from absolute targets

If the new target is relative to the current target, do not remove
videoram again: it has already been removed from the current target.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl.c